<require>deprecate</require>

<script>
    const fn = () => {};
    const obsoleteFn = deprecate(fn, 'This is a deprecated function');
    obsoleteFn();
</script>
